﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DAO;
using DTO;
using System.Data;

namespace BUS
{
    public class LOAIDOCGIABUS
    {
        public int update(DataTable datatable, string sqlquery)
        {
            LOAIDOCGIADAO ldgDAO = new LOAIDOCGIADAO();
            return ldgDAO.update(datatable, sqlquery);
        }

        public int themloaidocgia(LOAIDOCGIADTO ldgDTO)
        {
            LOAIDOCGIADAO ldgDAO = new LOAIDOCGIADAO();
            int kq = ldgDAO.themloaidocgia(ldgDTO);
            return kq;
        }

        public DataTable Loadloaidocgia()
        {
            DataTable datatble = new DataTable();
            LOAIDOCGIADAO ldgDAO = new LOAIDOCGIADAO();
            datatble = ldgDAO.Loadloaidocgia();
            return datatble;
        }

    }
}
